package com.xiaodu.acer.phoneplay.di.component;

import android.app.Application;

import com.xiaodu.acer.phoneplay.common.rx.RxErrorHandler;
import com.xiaodu.acer.phoneplay.data.http.ApiService;
import com.xiaodu.acer.phoneplay.di.module.AppModule;
import com.xiaodu.acer.phoneplay.di.module.HttpModule;

import javax.inject.Singleton;

import dagger.Component;
import retrofit2.Retrofit;


@Singleton
@Component(modules = {AppModule.class, HttpModule.class})
public interface AppComponent {

    ApiService getApiService();

    Application getApplication();

    RxErrorHandler getRxErrorHandler();

    Retrofit getRetrofit();



}
